package com.fjwt.gz.service.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fjwt.gz.db.dto.AwardAgentDTO;
import com.fjwt.gz.db.entity.AwardAgentEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fjwt.gz.db.vo.AwardAgentVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 奖品机构对应关系表(派发/激活)/机构活动渠道表 Mapper 接口
 * </p>
 *
 * @author shiyonghao
 * @since 2025-04-09
 */
public interface AwardAgentMapper extends BaseMapper<AwardAgentEntity> {

    /**
     * 获取奖品机构对应关系表(派发/激活)/机构活动渠道表
     *
     * @param iPage
     * @param awardAgentDTO
     * @return
     */
    IPage<AwardAgentVO> getListByAgentNo(IPage iPage, @Param("awardAgentDTO") AwardAgentDTO awardAgentDTO);
}
